cmake_minimum_required(VERSION 3.10)
set(PROJECT_NAME CPPExample)

# 设置项目名称和版本
project(${PROJECT_NAME} VERSION 1.0)

# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 包含头文件目录
include_directories(include)

# 添加源文件
set(SOURCES
    src/main.cpp
    src/myclass.cpp
    src/utilities.cpp
)

# 添加可执行文件
add_executable(${PROJECT_NAME} ${SOURCES})
